package com.cn.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @ClassName Massage
 * @Description TODO
 * @Author yujiajing
 * @Date 2023/2/19 15:49
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("Message")
@TableName("tb_user_message")
public class Message {
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    Long messageId;
    String senderAdmin;

    String receiverAdmin;

    String senderName;

    String message;

    String isRead;
}
